package com.integration.gateway.pojo;

import lombok.Data;

import java.io.Serializable;

@Data
public class OrderItem implements Serializable {

    private int orderNumber;

    private DrinkType drinkType;

    private int shots;

    private boolean iced;

    private String goodName = "CafeService";

    public boolean isDrink() {
        return this.drinkType != null;
    }

}
